package com.aspose.cells;

class zcbh extends zcdb {
   zcbh(PageSetup var1) {
      this.d = 652;
      this.c = new byte[24];
      int var2 = 0;
      if (var1.e()) {
         if (var1.getOrientation() == 0) {
            var2 |= 1;
         }

         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.c()), 0, this.c, 0, 4);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.f()), 0, this.c, 4, 4);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.g()), 0, this.c, 8, 4);
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getPrintCopies()), 0, this.c, 12, 4);
      }

      if (!var1.isAutoFirstPageNumber()) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getFirstPageNumber()), 0, this.c, 16, 2);
         var2 |= 16;
      }

      if (var1.getBlackAndWhite()) {
         var2 |= 4;
      }

      if (var1.getPrintDraft()) {
         var2 |= 32;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var2), 0, this.c, 18, 2);
      byte[] var3 = new byte[]{-1, -1, -1, -1};
      System.arraycopy(var3, 0, this.c, 20, 4);
   }
}
